﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ajayumi.Platform.Web.Controls.DataGrid
{
    [DataContract]
    class JQueryGridFilter
    {
        //	{"groupOp":"AND","rules":[{"field":"email","op":"cn","data":"1"},{"field":"orderno","op":"ge","data":"2"}]}
        public JQueryGridFilter()
        {
            this.GroupOp = "and";
        }

        [DataMember(Name = "groupOp")]
        public string GroupOp
        {
            get;
            set;
        }

        [DataMember(Name = "rules")]
        public List<JQueryGridFilterRules> JQueryGridFilterRulesList
        {
            get;
            set;
        }
    }


}
